package com.mblog.comment.entity;

import java.util.Date;
import java.util.List;

public class MBlogComment {
    private Integer id;

    private String userip;

    private Date commentdate;

    private Integer state;

    private String comentname;

    private String commentemail;

    private Integer blogId;

    private Integer commentId;

    private String content;
    
    private int sort;
    
    private List<MBlogComment> quatoComment;//回复评论

    public List<MBlogComment> getQuatoComment() {
		return quatoComment;
	}

	public void setQuatoComment(List<MBlogComment> quatoComment) {
		this.quatoComment = quatoComment;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserip() {
        return userip;
    }

    public void setUserip(String userip) {
        this.userip = userip == null ? null : userip.trim();
    }

    public Date getCommentdate() {
        return commentdate;
    }

    public void setCommentdate(Date commentdate) {
        this.commentdate = commentdate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getComentname() {
        return comentname;
    }

    public void setComentname(String comentname) {
        this.comentname = comentname == null ? null : comentname.trim();
    }

    public String getCommentemail() {
        return commentemail;
    }

    public void setCommentemail(String commentemail) {
        this.commentemail = commentemail == null ? null : commentemail.trim();
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}